package cn.sun.user.service;

import cn.sun.basic.service.IBaseService;
import cn.sun.basic.util.AjaxResult;
import cn.sun.user.domain.LoginInfo;
import cn.sun.user.dto.LoginDto;
import cn.sun.user.query.LoginInfoQuery;

import java.util.List;
import java.util.Map;

public interface ILoginInfoService extends IBaseService<LoginInfo, LoginInfoQuery> {


    void batchdel(List<Long> ids);

    AjaxResult phoneLogin(LoginDto loginDto);

    AjaxResult wechatLogin(Map<String, String> params);

    AjaxResult binderWechat(Map<String, String> params);

    void logout(String token);
}
